# -*- coding: utf-8 -*-
# @Time : 2021/7/3 2:09
# @Author : 摘星星的小女孩
# @Email : wayne_lau@aliyun.com
# @File : page_ecshop_front_user_center.py
# @Project : ecshop
from selenium.webdriver.common.by import By

class PageEcshopFrontUserCenter():
    def __init__(self,driver):
        self.driver=driver
        #元素定位符loc
        self.loc_ele_user_center=(By.XPATH, "/html/body/div[7]/div[1]/div/div/div/div/a[2]")
    #用户中心
    def ele_user_center(self):
        self.driver.find_element(*self.loc_ele_user_center).click()  # 点击【用户信息】



